package com.softeem.music.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.music.comm.R;
import com.softeem.music.entity.Admin;

/*
        业务层接口:定义业务层方法

* */

public interface AdminService extends IService<Admin> {

    /**
     * 管理员登录
     * @param username
     * @param password
     * @return
     */
    R login(String username, String password);
    R add(Admin admin);
}
